
package rac.ui.candidat;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.JButton;

import rac.ui.RacUI;

public class RacCandidatUI extends RacUI
{
	private AbstractAction faireDemande;
	private AbstractAction consulterDossier;
	
	public RacCandidatUI()
	{
		super("Candidat");
		
		
		this.faireDemande = new FaireDemande();
		this.consulterDossier = new ConsulterMonDossier();

		this.add(new JButton(this.faireDemande));
		this.add(new JButton(this.consulterDossier));
	}

	public static void main(String[] args)
	{
		RacCandidatUI c = new RacCandidatUI();

		c.setVisible(true);
	}

	private class FaireDemande extends AbstractAction
	{
		private FaireDemande()
		{
			super("faire une demande");
		}

		@Override
		public void actionPerformed(ActionEvent arg0)
		{
		}
	}
	
	private class ConsulterMonDossier extends AbstractAction
	{
		private ConsulterMonDossier()
		{
			super("Consulter mon dossier");
		}

		@Override
		public void actionPerformed(ActionEvent arg0)
		{
		}
	}
}
